package com.cloud.drore.eboss.supplier.service;

import com.cloud.drore.eboos.common.base.ResultMessage;
import com.cloud.drore.eboos.common.entity.operation.Consume;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/15 17:53 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@FeignClient("eboss-operation")
public interface IConsumeFeign {

    @GetMapping(value = "consume/{id}")
    public ResultMessage<Consume> getConsumeByConsumeId(@PathVariable("id") Long id);

    @GetMapping(value = "consume/findTotalConsumeList")
    public ResultMessage findTotalConsumeList();


}